<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<title>Docs For Class Teeple_Converter</title>
	<link rel="stylesheet" type="text/css" id="layout" href="../media/layout.css" media="screen">
	<link rel="stylesheet" type="text/css" href="../media/style.css" media="all">
	<link rel="stylesheet" type="text/css" href="../media/print.css" media="print">
</head>

<body>
<div id="header">
	<div id="navLinks">
        
                                    
                                                                                        	        [ <a href="../classtrees_teeple.html">Class Tree: teeple</a> ]
            [ <a href="../elementindex_teeple.html">Index: teeple</a> ]
        		[ <a href="../elementindex.html">All elements</a> ]		
	</div>
	<div id="packagePosition">
		<div id="packageTitle2">teeple</div>
		<div id="packageTitle">teeple</div>
		<div id="elementPath"> &middot; </div>
	</div>
</div>

<div id="nav" class="small">
	<div id="packages">
		Packages:
					<p><a href="../li_teeple.html">teeple</a></p>
					<p><a href="../li_teeple-converter.html">teeple-converter</a></p>
					<p><a href="../li_teeple-filter.html">teeple-filter</a></p>
					<p><a href="../li_teeple-validator.html">teeple-validator</a></p>
			</div>

				<div id="index">
			<div id="files">
								Files:<br>
								<a href="../teeple/_ActionBase.php.html">		ActionBase.php
		</a><br>
			<a href="../teeple/_ActionChain.php.html">		ActionChain.php
		</a><br>
			<a href="../teeple/_ActiveRecord.php.html">		ActiveRecord.php
		</a><br>
			<a href="../teeple/_Bean.php.html">		Bean.php
		</a><br>
			<a href="../teeple/_ConfigUtils.php.html">		ConfigUtils.php
		</a><br>
			<a href="../teeple/_Container.php.html">		Container.php
		</a><br>
			<a href="../teeple/_Controller.php.html">		Controller.php
		</a><br>
			<a href="../teeple/_Converter.php.html">		Converter.php
		</a><br>
			<a href="../teeple/_ConverterManager.old.php.html">		ConverterManager.old.php
		</a><br>
			<a href="../teeple/_ConverterManager.php.html">		ConverterManager.php
		</a><br>
			<a href="../teeple/_DataSource.php.html">		DataSource.php
		</a><br>
			<a href="../teeple/_DBConn.php.html">		DBConn.php
		</a><br>
			<a href="../teeple/_DevHelper.php.html">		DevHelper.php
		</a><br>
			<a href="../teeple/_EntityGenerator.php.html">		EntityGenerator.php
		</a><br>
			<a href="../teeple/_ErrorHandler.php.html">		ErrorHandler.php
		</a><br>
			<a href="../teeple/_Exception.php.html">		Exception.php
		</a><br>
			<a href="../teeple/_FileUpload.php.html">		FileUpload.php
		</a><br>
			<a href="../teeple/_FileUtil.php.html">		FileUtil.php
		</a><br>
			<a href="../teeple/_Filter.php.html">		Filter.php
		</a><br>
			<a href="../teeple/_FilterChain.php.html">		FilterChain.php
		</a><br>
			<a href="../teeple/_misc---generateentity.php.html">		generateentity.php
		</a><br>
			<a href="../teeple/_GlobalConfig.php.html">		GlobalConfig.php
		</a><br>
			<a href="../teeple/_Request.php.html">		Request.php
		</a><br>
			<a href="../teeple/_Resource.php.html">		Resource.php
		</a><br>
			<a href="../teeple/_Response.php.html">		Response.php
		</a><br>
			<a href="../teeple/_Session.php.html">		Session.php
		</a><br>
			<a href="../teeple/_Smarty4Maple.php.html">		Smarty4Maple.php
		</a><br>
			<a href="../teeple/_Token.php.html">		Token.php
		</a><br>
			<a href="../teeple/_Transaction.php.html">		Transaction.php
		</a><br>
			<a href="../teeple/_TransactionManager.php.html">		TransactionManager.php
		</a><br>
			<a href="../teeple/_Util.php.html">		Util.php
		</a><br>
			<a href="../teeple/_Validator.php.html">		Validator.php
		</a><br>
			<a href="../teeple/_ValidatorManager.php.html">		ValidatorManager.php
		</a><br>
				</div>
			<div id="interfaces">
							</div>
			<div id="classes">
				Classes:<br>
								<a href="../teeple/TeepleActiveRecordException.html">		TeepleActiveRecordException
		</a><br>
			<a href="../teeple/Teeple_ActionBase.html">		Teeple_ActionBase
		</a><br>
			<a href="../teeple/Teeple_ActionChain.html">		Teeple_ActionChain
		</a><br>
			<a href="../teeple/Teeple_ActiveRecord.html">		Teeple_ActiveRecord
		</a><br>
			<a href="../teeple/Teeple_Bean.html">		Teeple_Bean
		</a><br>
			<a href="../teeple/Teeple_ConfigUtils.html">		Teeple_ConfigUtils
		</a><br>
			<a href="../teeple/Teeple_Container.html">		Teeple_Container
		</a><br>
			<a href="../teeple/Teeple_Controller.html">		Teeple_Controller
		</a><br>
			<a href="../teeple/Teeple_Converter.html">		Teeple_Converter
		</a><br>
			<a href="../teeple/Teeple_ConverterManager.html">		Teeple_ConverterManager
		</a><br>
			<a href="../teeple/Teeple_ConverterManagerOld.html">		Teeple_ConverterManagerOld
		</a><br>
			<a href="../teeple/Teeple_DataSource.html">		Teeple_DataSource
		</a><br>
			<a href="../teeple/Teeple_DBConn.html">		Teeple_DBConn
		</a><br>
			<a href="../teeple/Teeple_DevHelper.html">		Teeple_DevHelper
		</a><br>
			<a href="../teeple/Teeple_EntityGenerator.html">		Teeple_EntityGenerator
		</a><br>
			<a href="../teeple/Teeple_ErrorHandler.html">		Teeple_ErrorHandler
		</a><br>
			<a href="../teeple/Teeple_Exception.html">		Teeple_Exception
		</a><br>
			<a href="../teeple/Teeple_FileUpload.html">		Teeple_FileUpload
		</a><br>
			<a href="../teeple/Teeple_FileUtil.html">		Teeple_FileUtil
		</a><br>
			<a href="../teeple/Teeple_Filter.html">		Teeple_Filter
		</a><br>
			<a href="../teeple/Teeple_FilterChain.html">		Teeple_FilterChain
		</a><br>
			<a href="../teeple/Teeple_GlobalConfig.html">		Teeple_GlobalConfig
		</a><br>
			<a href="../teeple/Teeple_Request.html">		Teeple_Request
		</a><br>
			<a href="../teeple/Teeple_Resource.html">		Teeple_Resource
		</a><br>
			<a href="../teeple/Teeple_Response.html">		Teeple_Response
		</a><br>
			<a href="../teeple/Teeple_Session.html">		Teeple_Session
		</a><br>
			<a href="../teeple/Teeple_Smarty4Maple.html">		Teeple_Smarty4Maple
		</a><br>
			<a href="../teeple/Teeple_Token.html">		Teeple_Token
		</a><br>
			<a href="../teeple/Teeple_Transaction.html">		Teeple_Transaction
		</a><br>
			<a href="../teeple/Teeple_TransactionManager.html">		Teeple_TransactionManager
		</a><br>
			<a href="../teeple/Teeple_Util.html">		Teeple_Util
		</a><br>
			<a href="../teeple/Teeple_Validator.html">		Teeple_Validator
		</a><br>
			<a href="../teeple/Teeple_ValidatorManager.html">		Teeple_ValidatorManager
		</a><br>
				</div>
		</div>
	</div>

<div id="body">
	    		<h1>Class: Teeple_Converter</h1>
	<p style="margin: 0px;">Source Location: /Converter.php</p>
	

<div class="leftcol">
	<h3><a href="#class_details">Class Overview</a> <span class="smalllinenumber">[line <a href="../__filesource/fsource_teeple__Converter.php.html#a23">23</a>]</span></h3>
	<div id="classTree"><pre></pre>
</div>
	<div class="small">
	<p>Converterの基底クラス</p>
		<h4>Author(s):</h4>
	<ul>
								</ul>
	<h4>Version:</h4>
	<ul>
								</ul>

	<h4>Copyright:</h4>
	<ul>
								</li>
	</div>
</div>

<div class="middlecol">
	<h3><a href="#class_vars">Variables</a></h3>
	<ul class="small">
			</ul>
	<h3><a href="#class_consts">Constants</a></h3>
	<ul class="small">
			</ul>
</div>
<div class="rightcol">
	<h3><a href="#class_methods">Methods</a></h3>
	<ul class="small">
				<li><a href="../teeple/Teeple_Converter.html#methodconvert">convert</a></li>
				<li><a href="../teeple/Teeple_Converter.html#methodexecute">execute</a></li>
			</ul>
</div>

<div id="content">
<hr>
	<div class="contents">
	<h2>Child classes:</h2>
		<dl>
	<dt><a href="../teeple-converter/Teeple_Converter_Datearray.html">Teeple_Converter_Datearray</a></dt>
		<dd>配列で渡された年、月、日から文字列を作成します。</dd>
	</dl>
		<dl>
	<dt><a href="../teeple-converter/Teeple_Converter_Datetimehash.html">Teeple_Converter_Datetimehash</a></dt>
		<dd>連想配列で渡された日時から文字列を作成します。</dd>
	</dl>
		<dl>
	<dt><a href="../teeple-converter/Teeple_Converter_MbConvertBase.html">Teeple_Converter_MbConvertBase</a></dt>
		<dd>mb_convert_kanaを使って変換するConverterの基底クラス</dd>
	</dl>
		<dl>
	<dt><a href="../teeple-converter/Teeple_Converter_Tel.html">Teeple_Converter_Tel</a></dt>
		<dd>電話番号を1つにまとめます。(ハイフンで結合)  電話番号はそれぞれ、$foo[0],$foo[1],$foo[2]に格納されている前提です。  target属性で指定されたフィールド名に値を格納します。</dd>
	</dl>
		<dl>
	<dt><a href="../teeple-converter/Teeple_Converter_Timehash.html">Teeple_Converter_Timehash</a></dt>
		<dd>連想配列で渡された時刻から文字列を作成します。</dd>
	</dl>
		<dl>
	<dt><a href="../teeple-converter/Teeple_Converter_Todatearray.html">Teeple_Converter_Todatearray</a></dt>
		<dd>日付の文字列から配列を作成します。(Datearrayの逆)</dd>
	</dl>
		<dl>
	<dt><a href="../teeple-converter/Teeple_Converter_Todatetimehash.html">Teeple_Converter_Todatetimehash</a></dt>
		<dd>日時の文字列から連想配列を作成します。(Datetimehashの逆)</dd>
	</dl>
		<dl>
	<dt><a href="../teeple-converter/Teeple_Converter_Trim.html">Teeple_Converter_Trim</a></dt>
		<dd>前後の空白を除去します。  対象となるプロパティが配列の場合は各値に対してtrimを実行します。</dd>
	</dl>
		<dl>
	<dt><a href="../teeple-converter/Teeple_Converter_Zip.html">Teeple_Converter_Zip</a></dt>
		<dd>郵便番号を1つにまとめます。(ハイフンで結合)  郵便番号はそれぞれ、$foo[0],$foo[1]に格納されている前提です。  target属性で指定されたフィールド名に値を格納します。</dd>
	</dl>
	</p>
	</div>

	<div class="leftCol">
    	<h2>Inherited Variables</h2>
		<h2>Inherited Constants</h2>
		</div>

	<div class="rightCol">
	<h2>Inherited Methods</h2>
		</div>
	<br clear="all">
	<hr>

	<a name="class_details"></a>
	<h2>Class Details</h2>
	<p align="center"><strong>Converterの基底クラス
</strong></p>
<h4>Tags:</h4>
<ul>
	<li><b>abstract</b> - </li>
</ul>
	<p class="small" style="color: #334B66;">[ <a href="#top">Top</a> ]</p>

	<hr>
	<a name="class_vars"></a>
	<h2>Class Variables</h2>
	
	<hr>
	<a name="class_methods"></a>
	<h2>Class Methods</h2>
	
	<a name="methodconvert"></a>
	<p></p>
	<h3>convert</h3>
	<div class="indent">
		<p>
		<code>boolean convert(

&$obj, string
$fieldName, object
$obj)</code>
		</p>
	
		<p class="linenumber">[line <a href="../__filesource/fsource_teeple__Converter.php.html#a34">34</a>]</p>
		<p align="center"><strong>Converterを実行します。  子クラスで実装されるexecuteメソッドを呼び出します。
</strong></p>
<h4>Tags:</h4>
<ul>
	<li><b>access</b> - public</li>
</ul>
		
	
	<h4>Parameters:</h4>
	<ul>
			<li>
		<span class="type">object</span>
		<b>$obj</b> 
		- 
		</li>
			<li>
		<span class="type">string</span>
		<b>$fieldName</b> 
		- 
		</li>
			<li>
		<span class="type"></span>
		<b>&$obj</b> 
		- 
		</li>
		</ul>
	</div>
	<p class="top">[ <a href="#top">Top</a> ]</p>
	<a name="methodexecute"></a>
	<p></p>
	<h3>execute</h3>
	<div class="indent">
		<p>
		<code>void execute(

&$obj, string
$fieldName, object
$obj)</code>
		</p>
	
		<p class="linenumber">[line <a href="../__filesource/fsource_teeple__Converter.php.html#a44">44</a>]</p>
		<p align="center"><strong>実際のConverterロジックです。子クラスで実装します。
</strong></p>
<h4>Tags:</h4>
<ul>
	<li><b>abstract</b> - </li>
	<li><b>access</b> - protected</li>
</ul>
		
	<p>Overridden in child classes as:<br />
		<dl>
	<dt><a href="../teeple-converter/Teeple_Converter_Datearray.html#methodexecute">Teeple_Converter_Datearray::execute()</a></dt>
		<dd></dd>
	</dl>
		<dl>
	<dt><a href="../teeple-converter/Teeple_Converter_Datetimehash.html#methodexecute">Teeple_Converter_Datetimehash::execute()</a></dt>
		<dd></dd>
	</dl>
		<dl>
	<dt><a href="../teeple-converter/Teeple_Converter_MbConvertBase.html#methodexecute">Teeple_Converter_MbConvertBase::execute()</a></dt>
		<dd></dd>
	</dl>
		<dl>
	<dt><a href="../teeple-converter/Teeple_Converter_Tel.html#methodexecute">Teeple_Converter_Tel::execute()</a></dt>
		<dd></dd>
	</dl>
		<dl>
	<dt><a href="../teeple-converter/Teeple_Converter_Timehash.html#methodexecute">Teeple_Converter_Timehash::execute()</a></dt>
		<dd></dd>
	</dl>
		<dl>
	<dt><a href="../teeple-converter/Teeple_Converter_Todatearray.html#methodexecute">Teeple_Converter_Todatearray::execute()</a></dt>
		<dd></dd>
	</dl>
		<dl>
	<dt><a href="../teeple-converter/Teeple_Converter_Todatetimehash.html#methodexecute">Teeple_Converter_Todatetimehash::execute()</a></dt>
		<dd></dd>
	</dl>
		<dl>
	<dt><a href="../teeple-converter/Teeple_Converter_Trim.html#methodexecute">Teeple_Converter_Trim::execute()</a></dt>
		<dd></dd>
	</dl>
		<dl>
	<dt><a href="../teeple-converter/Teeple_Converter_Zip.html#methodexecute">Teeple_Converter_Zip::execute()</a></dt>
		<dd></dd>
	</dl>
	</p>
	
	<h4>Parameters:</h4>
	<ul>
			<li>
		<span class="type">object</span>
		<b>$obj</b> 
		- 
		</li>
			<li>
		<span class="type">string</span>
		<b>$fieldName</b> 
		- 
		</li>
			<li>
		<span class="type"></span>
		<b>&$obj</b> 
		- 
		</li>
		</ul>
	</div>
	<p class="top">[ <a href="#top">Top</a> ]</p>

	<hr>
	<a name="class_consts"></a>
	<h2>Class Constants</h2>
	</div>
	<div id="credit">
		<hr>
		Documentation generated on Mon, 26 Apr 2010 08:59:38 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
	</div>
</div>
</body>
</html>